string_matrix_scientific
Syntax:
string_matrix_scientific(matrix, [decimals])
Arguments:
Argument Name | Type | Description |
---|---|---|
matrix | matrix | matrix to convert |
[decimals] | real | *(optional)* if specified, will trim numbers to specified decimal places |
Returns: (string)
Description:
Converts a matrix into an easily readable string with numbers in scientific notation.
It is worth noting that the spacing method used to align the widths of each row in the matrix will not work when using GameMaker outputs such as show_message or show_debug_message. The reason for this is because the measurements used pull from the currently rendered font, not GameMaker's debugging font.